import { Mode } from "fs";

/**
 * 进程字典,即某些变量想只缓存到服务器游戏进程，但是用户重新登录又存在的数据，关服不存储的数据
 */
export class ModelMapManager {

    public static instance: ModelMapManager = new ModelMapManager();

    private modelMap: Map<string, any> = new Map<string, any>();

    private setValue(key: string, value: any): any {
        this.modelMap.set(key, value);
    }

    private getValue(key: string): any {
        return this.modelMap.get(key);
    }

}